/**
 * hx-快速选型 api 封装
 *
 * @Author:    xuesg
 * @Date:      2025-01-13 17:21:08
 * @Copyright  hxzmzz.tech
 */
import { postRequest, getRequest } from '/@/lib/axios';

export const selectionQuickApi = {

  /**
   * 分页查询  @author  xuesg
   */
  queryPage : (param) => {
    return postRequest('/admin/selectionQuick/queryPage', param);
  },

  /**
   * 增加  @author  xuesg
   */
  add: (param) => {
      return postRequest('/admin/selectionQuick/add', param);
  },

  /**
   * 修改  @author  xuesg
   */
  update: (param) => {
      return postRequest('/admin/selectionQuick/update', param);
  },


  /**
   * 删除  @author  xuesg
   */
  delete: (id) => {
      return getRequest(`/admin/selectionQuick/delete/${id}`);
  },

  /**
   * 批量删除  @author  xuesg
   */
  batchDelete: (idList) => {
      return postRequest('/admin/selectionQuick/batchDelete', idList);
  },

};
